#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

if git diff --cached --name-only | grep '^src/FE/' >/dev/null; 
then
    cd src/FE
    npm run format
fi

exit 0

